#ifndef TRANSLATE_ADDRESS_H
#define TRANSLATE_ADDRESS_H
////////////////////////////////////////////////////////////////////////
#ifdef __x86_64__
// code for 64 bit Intel arch
typedef unsigned long address_t;
#define JB_SP 6
#define JB_PC 7

#else
// code for 32 bit Intel arch

typedef unsigned int address_t;
#define JB_SP 4
#define JB_PC 5 

#endif

address_t translate_address(address_t addr);
#endif
